<script lang="ts">
    import type { FooterNavigationProps } from "./PageFooter";

    const props: FooterNavigationProps = $props();
</script>

<div class="cm-page-footer-navigation">
    <dl>
        <dt>
            {#if props.head}
                {#if typeof props.head === "function"}
                    {@render props.head?.()}
                {:else}
                    {props.head}
                {/if}
            {/if}
        </dt>
        {@render props.children?.()}
    </dl>
</div>
